﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RIDA.Globals;
using System.Collections.ObjectModel;
using RIDA.Globals.Interfaces;
using RIDA.DiagramDesigner.ViewModel;

namespace RIDA.DiagramDesigner
{
    public class DiagramToolboxViewModel : ViewModelBase
    {

        public DiagramToolboxViewModel()
        {
            Items.Add(new StartFlowViewModel());
            Items.Add(new EndFlowViewModel());
        }
        private ObservableCollection<IDiagramToolboxItem> _items;

        public ObservableCollection<IDiagramToolboxItem> Items
        {
            get
            {
                if (_items == null)
                    _items = new ObservableCollection<IDiagramToolboxItem>();
                return _items;
            }
        }
    }
}
